//
//  Entity.cpp
//  LitterRunner
//
//  Created by 李阳 on 15/11/20.
//
//

#include "Entity.hpp"
#include "Player.hpp"
Entity::Entity(){
    m_sprite = NULL;
}
Entity::~Entity(){
    
}
CCSprite *Entity::getSprite(){
    return this->m_sprite;
}
void Entity::bindSprite(CCSprite *sprite){
    this->m_sprite = sprite;
    this->addChild(m_sprite);
}